<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  <canvas id="screen"> </canvas>
  <canvas id="screen1"> </canvas>
  <canvas id="screen2"> </canvas>
  <!-- 面向对象 
  封装
  继承
  多态  x
  优点 : 复用逻辑
  -->
  <!-- <script src="./index.js"></script> -->
  <script src="./oop.js"></script>
</body>

</html>